package com.ny20231079080.service;

import com.ny20231079080.entity.Managers;

import java.sql.SQLException;
import java.util.List;

public interface ManagerService {
    Managers login(String name, String password) throws Exception;
    public List<Managers> fingAllManagers() throws SQLException, ClassNotFoundException;
    int insertManager(Managers manager) throws SQLException, ClassNotFoundException;
    int updateManager(Managers manager) throws SQLException, ClassNotFoundException;
    int deleteManager(int manager_id) throws SQLException, ClassNotFoundException;
}
